Rosetta Code
   HOME

TheInfoList



OR:

Rosetta Code is a
wiki A wiki ( ) is an online hypertext publication collaboratively edited and managed by its own audience, using a web browser. A typical wiki contains multiple pages for the subjects or scope of the project, and could be either open to the pu ...
-based programming website with implementations of common
algorithms In mathematics and computer science, an algorithm () is a finite sequence of rigorous instructions, typically used to solve a class of specific problems or to perform a computation. Algorithms are used as specifications for performing c ...
and solutions to various programming problems in many different
programming languages A programming language is a system of notation for writing computer programs. Most programming languages are text-based formal languages, but they may also be graphical. They are a kind of computer language. The description of a programming ...
. It is named for the
Rosetta Stone The Rosetta Stone is a stele composed of granodiorite inscribed with three versions of a Rosetta Stone decree, decree issued in Memphis, Egypt, in 196 BC during the Ptolemaic dynasty on behalf of King Ptolemy V Epiphanes. The top and middle te ...
, which has the same text inscribed on it in three languages, and thus allowed
Egyptian hieroglyphs Egyptian hieroglyphs (, ) were the formal writing system used in Ancient Egypt, used for writing the Egyptian language. Hieroglyphs combined logographic, syllabic and alphabetic elements, with some 1,000 distinct characters.There were about 1,00 ...
to be deciphered for the first time.


Website

Rosetta Code was created in 2007 by Michael Mol. The site's content is licensed under the
GNU Free Documentation License The GNU Free Documentation License (GNU FDL or simply GFDL) is a copyleft license for free documentation, designed by the Free Software Foundation (FSF) for the GNU Project. It is similar to the GNU General Public License, giving readers the r ...
1.2, though some components may be dual-licensed under more permissive terms. The Rosetta Code web repository illustrates how desired functionality is implemented very differently in various programming paradigms, and how "the same" task is accomplished in different
programming language A programming language is a system of notation for writing computer programs. Most programming languages are text-based formal languages, but they may also be graphical. They are a kind of computer language. The description of a programming ...
s. , Rosetta Code has: ::* 1,121 computer programming tasks (or problems) ::* 303 additional draft programming tasks ::* 810 computer programming languages that are used to solve tasks ::* 83,043 computer programming language examples/entries In August 2022, Rosetta Code migrated from independent hosting to Miraheze.


Data and structure

The Rosetta Code site is organized as a browsable cross-section of tasks (specific programming problems or considerations) and computer programming languages. A task's page displays visitor-contributed solutions in various computer languages, allowing a viewer to compare each language's approach to the task's stated problem. Task pages are included in per-language listings based on the languages of provided solutions; a task with a solution in the C programming language will appear in the listing for C. If the same task has a solution in
Ruby A ruby is a pinkish red to blood-red colored gemstone, a variety of the mineral corundum ( aluminium oxide). Ruby is one of the most popular traditional jewelry gems and is very durable. Other varieties of gem-quality corundum are called sa ...
, the task will appear in the listing for Ruby as well.


Languages

Some of the computer programming languages found on Rosetta Code (which have Wikipedia descriptions) include: A complete list of the computer programming languages that have examples (entries/solutions to the Rosetta Code tasks) is available.


Tasks

Some of the tasks found on Rosetta Code include:


See also

* Example-centric programming


References


External links

* {{Official website Programming language comparisons Wikis about programming